package com.ruoyi.base.mapper;

import java.util.List;
import com.ruoyi.base.domain.WorkingProcedure;
import com.ruoyi.base.vo.WorkProcedureVO;

/**
 * 工序Mapper接口
 * 
 * @author ruoyi
 * @date 2022-08-17
 */
public interface WorkingProcedureMapper 
{
    /**
     * 查询工序
     * 
     * @param id 工序主键
     * @return 工序
     */
    public WorkingProcedure selectWorkingProcedureById(Long id);

    /**
     * 查询工序列表
     * 
     * @param workingProcedure 工序
     * @return 工序集合
     */
    public List<WorkProcedureVO> selectWorkingProcedureList(WorkingProcedure workingProcedure);

    /**
     * 新增工序
     * 
     * @param workingProcedure 工序
     * @return 结果
     */
    public int insertWorkingProcedure(WorkingProcedure workingProcedure);

    /**
     * 修改工序
     * 
     * @param workingProcedure 工序
     * @return 结果
     */
    public int updateWorkingProcedure(WorkingProcedure workingProcedure);

    /**
     * 删除工序
     * 
     * @param id 工序主键
     * @return 结果
     */
    public int deleteWorkingProcedureById(Long id);

    /**
     * 批量删除工序
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkingProcedureByIds(Long[] ids);
}
